Inheritance diagram for I3DExVolumetricEffect:

Public Member Functions | |
| virtual void MCCOMAPI | Initialise (I3DShScene *scene)=0 |
| virtual void MCCOMAPI | DirectionFilter (const TVector3 &origin, const TVector3 &direction, real maxt, TMCColorRGBA &inOutFilter, boolean isShadowCasting)=0 |
At the beginning of the rendering of a frame, the shell go through all the data components (see I3DExDataComponent) of the lights, cameras and primitives and ask them if a volumetric effect should be created by calling GetVolumetricList().
It then creates one volumetric effect of each kind. The volumetric effects are then called for each ray to determine its effects on the light going through the ray.
|
||||||||||||||||||||||||
|
This function should filter a color with the volumetricEffect. When the function is called, inOutFilter contains the color of an object at the end point. When it returns inOutFilter should have been modified to include the filtering effect.
Implemented in TBasicVolumetricEffect. |
|
|
This function is called at the beginning of the rendering of a frame. It allows you to create caches for your effect
Implemented in TBasicVolumetricEffect. |
1.4.5